package com.cg.service;

import com.cg.po.Demo;

import java.util.List;

public interface DemoService {

    List<Demo> findAll();

    Demo findOneById(Integer id);

    void insertDemo(Demo demo);

    void updateDemo(Demo demo);

    void deleteDemo(Long id);
}
